package de.slothsoft.network;

import java.io.IOException;

public class ServerEvent {

	private final ServerClient source;
	private final IOException error;

	public ServerEvent(ServerClient source) {
		this(source, null);
	}

	public ServerEvent(ServerClient source, IOException error) {
		this.source = source;
		this.error = error;
	}

	public ServerClient getSource() {
		return this.source;
	}

	public IOException getError() {
		return this.error;
	}
}
